package dao;


import pojo.Staff;

import java.util.List;

/**
 * @BelongsProject: jdbc_demo
 * @BelongsPackage: dao
 * @Author: Del
 * @CreateTime: 2025-02-26  09:06
 * @Description: TODO
 * @Version: 1.0
 */
public interface StaffDao {
    int addStaff(Staff staff);

    int deleteStaff(int id);

    int updateStaff(Staff staff);

    Staff queryStaffById(int id);

    List<Staff> queryStaffs();
}
